package com.zgjkhis.modules.outpatient.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.hibernate.validator.constraints.Range;

import javax.validation.constraints.NotNull;

/**
 * @Author yxl 处方，订单审核
 * @Description
 * @Date 2021/7/13 16:15
 **/
@Data
@NoArgsConstructor
public class OrderUpdateCriteria {

    @ApiModelProperty(value = "审核方式：1：订单，2：处方")
    @NotNull(message = "审核/调剂方式")
    @Range(min=1,max=2,message = "审核/调剂方式错误")
    private Integer type;

    @ApiModelProperty(value = "订单/处方编码",required = true)
    @NotNull(message = "订单/处方编码不能为空")
    private String codeNo;



}
